Towards platform-independent verification of the standard mathematical functions: the square root function

نویسندگان

  • Nikolay V. Shilov
  • Igor S. Anureev
  • Mikhail Berdyshev
  • Dmitry Kondratev
  • Aleksey V. Promsky
چکیده

The paper presents (human-oriented) specification and (penand-paper) verification of the square root function. The function implements Newton method and uses a look-up table for initial approximations. Specification is done in terms of total correctness assertions with use of precise arithmetic and the mathematical square root √ . . ., algorithms are presented in pseudo-code with explicit distinction between precise and machine arithmetic, verification is done in Floyd-Hoare style and adjustment (matching) of runs of algorithms with precise arithmetics and with machine arithmetics. The primary purpose of the paper is to make explicit properties of the machine arithmetic that are sufficient to make verification presented in the paper. Computer-aided implementation and validation of the proofs (using some proof-assistant) is the topic for further studies.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

AN OPTIMUM APPROACH TOWARDS SEISMIC FRAGILITY FUNCTION OF STRUCTURES THROUGH METAHEURISTIC HARMONY SEARCH ALGORITHM

Vulnerability assessment of structures encounter many uncertainties like seismic excitations intensity and response of structures. The most common approach adopted to deal with these uncertainties is vulnerability assessment through fragility functions. Fragility functions exhibit the probability of exceeding a state namely performance-level as a function of seismic intensity. A common approach...

متن کامل

Verification of an Evolutionary-based Wavelet Neural Network Model for Nonlinear Function Approximation

Nonlinear function approximation is one of the most important tasks in system analysis and identification. Several models have been presented to achieve an accurate approximation on nonlinear mathematics functions. However, the majority of the models are specific to certain problems and systems. In this paper, an evolutionary-based wavelet neural network model is proposed for structure definiti...

متن کامل

Investigation of the Allometric Models in Estimation of Poplar (Populus deltoides) Height

One of the most important issues in forest biometrics is the use of allometric functions to estimate the tree height by using diameter-height models. Measuring the total height of trees is usually a complex and time-consuming process. In allometric functions, the diameter is measured directly but the height of the tree is an estimate of an allometric model, which will be more accurate if the cr...

متن کامل

Inverse Sturm-Liouville problem with discontinuity conditions

This paper deals with the boundary value problem involving the differential equation begin{equation*}     ell y:=-y''+qy=lambda y,  end{equation*}  subject to the standard boundary conditions along with the following discontinuity  conditions at a point $ain (0,pi)$  begin{equation*}     y(a+0)=a_1 y(a-0),quad y'(a+0)=a_1^{-1}y'(a-0)+a_2 y(a-0), end{equation*} where $q(x),  a_1 , a_2$ are  rea...

متن کامل

Formal Verification of Square Root Algorithms

We discuss the formal verification of some low-level mathematical software for the Intel Itanium architecture. A number of important algorithms have been proven correct using the HOL Light theorem prover. After briefly surveying some of our formal verification work, we discuss in more detail the verification of a square root algorithm, which helps to illustrate why some features of HOL Light,...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/1801.00969  شماره 

صفحات  -

تاریخ انتشار 2018